package com.yzr.common.task;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @description 装备质保状态改变
 * @author: yx-0173
 * @date: 2021-07-09 16:05
 **/
@Component
@Slf4j
public class DeviceTask {


    /**
     * 0点执行一次
     */
    @Scheduled(cron = "${task.device.warranty.status.change:0 0 0 */1 * ?}")
    public void deviceWarrantyChange() {

    }
}
